package com.aisile.apis.admin.controller;

import com.aisile.model.admin.dtos.SensitiveDto;
import com.aisile.model.admin.pojos.AdSensitive;
import com.aisile.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

public interface StrategyController {

    //分页查询
    public ResponseResult getPageList(SensitiveDto dto);

    //新增敏感词
    public ResponseResult addstrategy(AdSensitive sensitive);

    //修改敏感词
    public ResponseResult updatestrategy(AdSensitive sensitive);

    //删除敏感词
    public ResponseResult deletesensitive(Integer id);


    public ResponseResult getlist( Integer id);

    public ResponseResult deletesensitive(String[] ids);
}
